//import com.zj.dao.UserDao;
//import com.zj.pojo.User;
//import com.zj.service.UserService;
//import org.springframework.context.ApplicationContext;
//import org.springframework.context.support.ClassPathXmlApplicationContext;
//
//public class App {
//    public static void main(String[] args) {
//        ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
//        UserDao userDao = (UserDao) ctx.getBean("userDao");
//        UserService userService = ctx.getBean(UserService.class);
////        User user= userService.selectById();
////        System.out.println(user.toString());
//        System.out.println(userService.selectById());
//        System.out.println(userDao.selectById().toString());
//
//    }
//}
